let arr = [1, 2, 3, 4, 5, 6]
arr = arr.map(item => item + 1)
console.log(arr);